Loading...
 

MATLAB implementation of the heat transfer problem

Below you can find a link to the MATLAB code for calculating the heat transport problem in an L-shaped area.

The code execution is also possible in the free Octave(external link) environment.
Download code(external link) or see Appendix 3.

The code is activated by opening it in Octave and typing a command
\( heat' \)
After a moment of calculation, the code opens an additional window and draws the solution in it.
On line 641 \( knot = [0, 0, 0, 1, 2, 2, 2]; \)

there is a saved vector of knots [0 0 0 1 2 2 2] which will be used on each of the three groups of elements (patches) used to solve the heat transport problem.
Content of exercise:
Please modify the heat transport code so that it uses 2nd order Lagrange polynomials and that each patch of elements has 5 elements.

Ostatnio zmieniona Wtorek 09 z Listopad, 2021 12:19:20 UTC Autor: Maciej Paszynski
Zaloguj się/Zarejestruj w OPEN AGH e-podręczniki
Czy masz już hasło?

Hasło powinno mieć przynajmniej 8 znaków, litery i cyfry oraz co najmniej jeden znak specjalny.

Przypominanie hasła

Wprowadź swój adres e-mail, abyśmy mogli przesłać Ci informację o nowym haśle.
Dziękujemy za rejestrację!
Na wskazany w rejestracji adres został wysłany e-mail z linkiem aktywacyjnym.
Wprowadzone hasło/login są błędne.